home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1052 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: crl4.crl.com!not-for-mail
  2. From: kossick@crl.com (Paul J. Kossick)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Procedure for CRC-16 Value for a given text string
  5. Date: 10 Jan 1996 19:55:37 -0800
  6. Organization: CRL Dialup Internet Access    (415) 705-6060  [Login: guest]
  7. Message-ID: <4d21np$374@crl4.crl.com>
  8. References: <30f486cf.64849689@news.alt.net>
  9. NNTP-Posting-Host: crl4.crl.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. JC (jcharper@alt.net) wrote:
  13.  
  14. : To anyone with some knowledge of C - programming language. I need a
  15. : procedure that will compute a CRC-16 value for a given text string.
  16. : This should receive a text string as input and produce a two byte CRC
  17. : value as output. The output has to be two data bytes. The carriage
  18. : return byte is not to be included in the CRC computations. This should
  19. : be able to read text strings from the terminal, call the procedure,
  20. : and then print the string and the appropriate CRC value. The output
  21. : will be the text string that was input and the corresponding CRC
  22. : value. Then, the CRC value should be converted into a 4 digit Hex
  23. : value. Any suggestions ???
  24.  
  25. : Please help !!
  26.  
  27. Why am I tempted to quote my consulting rates here?
  28.  
  29. --
  30. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  31. Paul J. Kossick     Standing on a hill in my mountain of dreams
  32. kossick@crl.com     Telling myself it's not as hard, hard, hard as it seems
  33. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  34.  
  35.